﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sample.Messages;
using SimpleServiceBus.Bus.MessageManagement.MessageHandling;

namespace SampleConsumer.Handlers {
    public class Area2Handler: IMessageHandler<Area2> {

        public void Handle(Area2 message, SimpleServiceBus.Bus.Pipeline.IMessageContext context) {
            Logger.Log("Received Area2 topic. Main = {0}, DoubleValue = {1}", message.MainValue, message.DoubleValue);
        }

    }
}
